import React from 'react';
import { render } from 'react-dom';
import { AppContainer } from 'react-hot-loader';
import './style/index.less';
import BasicExample from './router/RouterDemo'
import Provider from './Provider';
import store from './Store';
// function Layout(params) {
        
//     return (<div className="lay"></div>)
    
// }
var Layout= (
    <div className="lay">
    </div>
)
const renderDom = (Component,$elem) => {
    render(
        <AppContainer>
        <Component />
        </AppContainer>,
        $elem
    );
}
renderDom(BasicExample,document.getElementById('app'));
if(module.hot){
    module.hot.accept();
}